<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>首页</title>
</head>

<body>
    <h1>首页</h1>
    <form action="/api" method="POST">
        名字：<input type="text" name="name"> <br>
        年龄：<input type="text" name="age"> <br>
        <input type="submit" name="" id="" value="提交">
    </form>
</body>

</html>